home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Know Your Hockey - The Greatest Player Resource
/
Know Your Hockey: The Greatest Player Resource.iso
/
hockey
/
director
/
ktgcst.cst
/
00044_Script_44
< prev
next >
Wrap
Text File
|
1998-09-28
|
1KB
|
59 lines
global gmusic,gsoundlevel,gb,defaultsnd,dlflag,gbuttonstate, gDNS, gProduct
on StartMovie
-- if the moviename contains "KTG" then
-- if AxiaRegIsRegistered() > 0 or gDNS = gProduct then
-- nothing -- just carry on
-- else
-- play movie "RegKTG"
-- end if
-- end if
set gb = new(script "ButtonsObject")
initPrompts
cursor -1
repeat with x = 3 to 47
PuppetSprite x,1
end repeat
initrolloverkit
initButtonKit
if dlflag = 1 then
set dlflag = empty
setat(gbuttonstate,38,2)
set the blend of sprite 38 = 100
end if
set MyMovie = the movieName
set the itemDelimiter= "."
set mymovie = item 1 of mymovie
case mymovie of
"teamply","KTGskil":
set a = "guide"
"main","BTG":
set a = "coach"
"KTG_r_1","KTG_r_2","KTG_r_3":
set a = "coach"
"KTG_f_1","KTG_f_2","KTG_f_3":
set a = "coach"
otherwise
set a = "guide"
end case
set the itemDelimiter= ","
-- start bg sound
bgmusic
if defaultsnd > EMPTY then
LoadFirstSoundst(defaultsnd)
set defaultsnd = empty
else
LoadFirstSounds(a)
end if
end
on stopmovie
set the mouseUpScript = EMPTY
puppetsound 1,0
puppetsound 2,0
cursor 4
end